package com.scada.model.bean;

import java.io.Serializable;

public class Dictionary implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 4460777106011585776L;

	private Integer id;

    private String keyName;

    private String type;
    
    private Integer isSys;

    private Integer state;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getKeyName() {
        return keyName;
    }

    public void setKeyName(String keyName) {
        this.keyName = keyName == null ? null : keyName.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

	public Integer getIsSys() {
		return isSys;
	}

	public void setIsSys(Integer isSys) {
		this.isSys = isSys;
	}
    
	public static enum TypeKeyCode {
		 
		investment_type("investment_type", "投资种类"),cust_type("cust_type", "客户种类"),lecture_type("lecture_type", "参与方式");
		
		TypeKeyCode(String key, String value) {
			this.key = key;
			this.value = value;
		}

		private String key;
		private String value;

		public String getKey() {
			return key;
		}

		public String getValue() {
			return value;
		}
		
	}
	
    
}